﻿Public Class usuariosVO

    Private _id_usuario As Integer
    Private _masp As String
    Private _nome As String
    Private _status As Boolean
    Private _tipo_usario As New tipoUsuarioVO
    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_usuario = Nothing
        _masp = Nothing
        _nome = Nothing
        _status = Nothing
        _tipo_usario = Nothing
    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_usuario As Integer, _
            ByVal masp As String, _
            ByVal nome As String, _
            ByVal status As Boolean, _
            ByVal tipo_usuario As tipoUsuarioVO)

        _id_usuario = id_usuario
        _masp = masp
        _nome = nome
        _status = status
        _tipo_usario = tipo_usuario
    End Sub

    Public Property ID_USUARIO() As Integer
        Get
            Return _id_usuario
        End Get
        Set(ByVal value As Integer)
            _id_usuario = value
        End Set
    End Property

    Public Property MASP() As String
        Get
            Return _masp
                    End Get
        Set(ByVal value As String)

            _masp = value

        End Set
    End Property

    Public Property NOME() As String
        Get
            Return _nome

        End Get
        Set(ByVal value As String)

            _nome = value

        End Set
    End Property

    Public Property STATUS() As Boolean
        Get
            Return _status
                    End Get
        Set(ByVal value As Boolean)

            _status = value

        End Set
    End Property

    Public Property TIPO_USUARIO() As tipoUsuarioVO
        Get
            Return _tipo_usario
        End Get
        Set(ByVal value As tipoUsuarioVO)

            _tipo_usario = value

        End Set
    End Property

End Class
